#ifndef __bsp_h_
#define __bsp_h_

#include "stm32f10x.h"
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <math.h>

typedef struct
{
	uint32_t	  cnt;
	bool      flag;

}tTIM_Flag;
extern tTIM_Flag ZIGBEE_TIM_Flag;


typedef struct {
	
	uint8_t Mode;
	uint8_t A_Gear;
	uint8_t B_Gear;

} Prescription_t;
extern Prescription_t Prescription;

typedef struct {
	
	uint8_t Prescription_Gear;


} SysInfo_struct;
extern SysInfo_struct SysInfo;



#include "app_Task.h"
#include "bsp_queue.h"
#include "bsp_fft.h"
#include "bsp_dac.h"
#include "bsp_time.h"
#include "bsp_key.h"
#include "bsp_beep.h"
#include "bsp_uart.h"
#include "bsp_net.h"
#include "bsp_json.h"
#include "bsp_tm1680.h"
#endif



